package com.cn.qgx428.lazydiary.Utils

import com.cn.qgx428.lazydiary.APP
import com.cn.qgx428.lazydiary.R

/**
 * Created by qinguanxiong on 2018/1/25.
 */
class MConst{
    companion object {
        var APPLICATION_ID = "com.qinx.lazydiary"

        // 页面间传递bundle的关键字
        val S_STICK_NOTE  = "stickNote"


        // 常用常量

        // bill页面
        val BILL_INCOME = "收入"
        val BILL_EXPEND = "支出"
        val BILL_SUMMERISE = "汇总"
        val incomeTextColor = APP.getAppContext().resources.getColor(R.color.mDarkCyan)
        val expendTextColor = APP.getAppContext().resources.getColor(R.color.colorAccent)
        val billSummerizeTextColor = APP.getAppContext().resources.getColor(R.color.LightSlateGray)
        val CURRENT_MOUTH_WITH_YEAR = "mouthOfYear"

        // 计划页面
        val PLAN_DEFAULT_IMG = "plan_default"
        val PLAN_ID = "planId"
        val PlAN_IMAGE = "planImage"
        val PLAN = "plan"
        val PLAN_CLOCK_IN_DETAIL = "planClockInDetail"

        // 日记页面
        val DIARY_TYPE = "diary_type"
        val DIARY_CREATE = "diary_create"
        val DIARY_EDIT = "diary_edit"
        val DIARY_IMG_CONTENT = "diary_img_content"
        val DIARY_TEXT_CONTENT  = "diary_text_content"
        val DIARY_BUNDLE = "diary_bundle"
    }
}